* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-image: url('pic.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

#app {
    min-height: 100vh;
    background-color: rgba(255, 255, 255, 0.9);
}

header {
    background-color: #1e88e5;
    color: white;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.module {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #1e88e5;
}

h3 {
    color: #666;
    margin: 1rem 0;
}

.search-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

select, button {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

select {
    min-width: 120px;
}

button {
    background-color: #1e88e5;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover:not(:disabled) {
    background-color: #1976d2;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.error-message {
    color: #d32f2f;
    padding: 0.5rem;
    margin: 1rem 0;
    background-color: #ffebee;
    border-radius: 4px;
}

.statistics {
    margin: 1rem 0;
    padding: 1rem;
    background-color: #f5f5f5;
    border-radius: 4px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stat-item .label {
    color: #666;
}

.stat-item .value {
    color: #1e88e5;
    font-weight: bold;
}

.weather-table {
    margin-top: 1rem;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f5f5f5;
    font-weight: bold;
    color: #333;
}

tr:hover {
    background-color: #f5f5f5;
}

.no-data {
    text-align: center;
    padding: 2rem;
    color: #666;
    background-color: #f5f5f5;
    border-radius: 4px;
}

.chart-container {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.chart-row {
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.chart {
    width: 100%;
    max-width: 900px;
    min-height: 400px;
    background-color: white;
    border-radius: 4px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
} 